<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>表单练习</title>
</head>

<body>
  <form action="test1.html">
    用户名: <input type="text" name="username" id="" size="30"><br />
    密码: <input type="password" name="password"> <br />
    性别: <input type="radio" name="gender" id="gender1" value="1"><label for="gender1">男</label>
    <input type="radio" name="gender" id="gender2" value="2"><label for="gender2">女</label>
    <input type="radio" name="gender" id="gender3" value="3"><label for="gender3">保密</label><br />

    兴趣: <input type="checkbox" name="hobby" id="1" value="1"> 篮球
    <input type="checkbox" name="hobby" id="2" value="2"> 足球
    <input type="checkbox" name="hobby" id="3" value="3"> 排球
    <input type="checkbox" name="hobby" id="4" value="4"> 乒乓球 <br />

    专业: <select name="" id="">
      <option value="1">计算机科学与技术</option>
      <option value="2" selected>软件工程</option>
      <option value="3">物联网</option>
      <option value="4">人工智能</option>
    </select><br />

    个人描述 : <textarea name="" id="" rows="10" cols="50"></textarea>

    <!-- <button>这是一个button标签</button> -->
    <!-- <input type="button" value="按钮"> -->
    <input type="submit" value="提交">
  </form>
</body>

</html>